package xiaoqi.springwebsockt.handler;

import xiaoqi.springwebsockt.message.Message;

import javax.websocket.Session;

public interface MessageHandler<T extends Message> {

    void execute(Session session, T message);

    String getType();

}
